<?php
	
	class DelegateFunc{
		var $funcname;
		var $params;
		function DelegateFunc($funcname,$params){
			$this->funcname=$funcname;
			$this->params=$params;
			
		}
		function invoke(){
			return call_user_func_array($this->funcname,$this->params);
		}
	}
?>